﻿
using System;
using System.Collections.Generic;
using System.Linq;
using hCommand;

namespace Controller.i18n.entity
{
    [Serializable]
    public class TaskCarrier : BaseTask
    {
        public static int getBaseDistance(Edge e)
        {//反射使用
            return e.b;
        }

        public override List<string> getLableData()
        {
            List<string> list = new List<string>();
            list.Add(extra);
            list.Add("起点：" + src);
            list.Add("终点：" + des);

            return list;
        }
        public override void init(CoreTask complete, CoreTaskParam param, TaskDto taskDto,List<TaskDto> keyList)
        { 
            extra = taskDto.src + "-->" + taskDto.des;

        }
    }
}
